package com.chuangjiangx.member.score.ddd.query.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 当前会员积分明细列表-商户平台
 * Created by YangKuo on 2017/11/28.
 */
@Data
public class MerchantStoredStreamListDTO {


    private Long id;

    /**
     * 交易单号
     */
    private String storedNum;

    /**
     * 交易时间
     */
    private Date dateTime;

    /**
     * 交易类型
     */
    private Byte type;

    private String typeText;

    /**
     * 交易金额
     */
    private BigDecimal transactionAmount;

    /**
     * 赠送金额
     */
    private BigDecimal giftAmount;

    /**
     * 可用余额
     */
    private BigDecimal availableBalance;

    /**
     * 交易后余额
     */
    private BigDecimal postTradingBalance;

    /**
     * 操作人
     */
    private String storeUserName;

    /**
     * 支付方式： 扫码支付:1,公众号支付:2,拉卡拉支付:3,分期支付:4,预授权:5
     */
    private Byte payType;

    private String payTypeText;

    public MerchantStoredStreamListDTO(Long id, String storedNum, Date dateTime, Byte type, BigDecimal transactionAmount, BigDecimal giftAmount, BigDecimal availableBalance, BigDecimal postTradingBalance,String storeUserName, Byte payType) {
        this.id = id;
        this.storedNum = storedNum;
        this.dateTime = dateTime;
        this.type = type;
        this.transactionAmount = transactionAmount;
        this.giftAmount = giftAmount;
        this.availableBalance = availableBalance;
        this.postTradingBalance = postTradingBalance;
        this.storeUserName = storeUserName;
        this.payType = payType;
    }
}
